SpreadJS provides support for the quote prefix feature. You can enter values in cells with quote prefix (') and the input value will be converted and stored as a string.
For more information, see Working with the Quote Prefix.